package com.travel.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.travel.mapper.HomePageMapper;
import com.travel.pojo.ScenicSpot;
import com.travel.service.HomePageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class HomePageServiceImpl extends ServiceImpl<HomePageMapper, ScenicSpot> implements HomePageService {
    @Autowired
    private HomePageMapper homePageMapper;
    @Override
    public List<ScenicSpot> listBySName() {
        return homePageMapper.listBySName();
    }
}
